package com.huilian.iotbox.admin.wap.dao;

import com.huilian.iotbox.data.dto.SearchHistoryDto;
import com.huilian.iotbox.data.vo.SearchHistoryVo;

import java.util.List;

/**
 * @author LinYinDong
 * @date 2024/10/25 下午4:24
 */
public interface SearchHistoryDao {
    int insert(SearchHistoryDto searchHistoryDto);

    List<SearchHistoryVo> findSearchHistoryListByUserId(SearchHistoryDto searchHistoryDto);

    SearchHistoryVo getOneSearchHistory(SearchHistoryDto searchHistoryDto);

    int update(SearchHistoryDto searchHistoryDto);

    int delete(SearchHistoryDto searchHistoryDto);
}
